package org.rugby.online.impl;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;
import org.rugby.online.impl.DefaultGamer;

public class DefaultGamerTest {

	/**
	 * Default gamer
	 */
	private DefaultGamer gamer;
	
	@Before
	public void setUp() throws Exception {
		gamer = new DefaultGamer("TEST_NAME");
	}

	@Test
	public void testGetStaffTeam() {
		assertNotNull(gamer.getStaffTeam());
	}

	@Test
	public void testGetPlayerTeam() {
		assertNotNull(gamer.getPlayerTeam());
	}

	@Test
	public void testGetTeamEnvironment() {
		assertNotNull(gamer.getTeamEnvironment());
	}

	@Test
	public void testGetTeamEconomy() {
		assertNotNull(gamer.getTeamEconomy());
	}

	@Test
	public void testGetName() {
		assertTrue(gamer.getName().equals("TEST_NAME"));
	}

	@Test
	public void testGetId() {
		assertNotNull(gamer.getId());
	}

}
